package com.campus.service;

import com.campus.dto.*;
import com.campus.model.Activity;
import com.campus.model.Teacher;
import com.campus.model.User;
import io.swagger.models.auth.In;
import org.apache.xmlbeans.impl.xb.xsdschema.Attribute;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ManagerService {
    public Integer addTeacher(TeacherDto teacherDto);

    public Integer addUser(UserDto userDto);

    Teacher queryTeacherById(int teacherId);

    List<Teacher> queryTeacherByName(String name);

    Integer addActivity(ActivityDto activityDto);

    Integer editActivity(ActivityDto newactivityDto);

    Integer publishActivity(int activityId);

    List<Activity> queryActivityByStatus(int status);

    List<Activity> queryActivityByName(String name);

    Integer addClass(ClassDto classDto);

    Integer modifyClass(ClassDto newclassDto);

    Integer addStudent(StudentDto studentDto);

    Integer addStudentByExcel(String excelPath);

    Integer auditStudent(int studentId);

    Integer batchAuditStudent();

    List<User> queryUserByName(String name);

    Integer allocateTeacher(int class_id,int teacher_id);

    Integer addStudentsToClass(int classId, List<Integer> studentIds);
}
